#ifndef CLAVIER_H
#define CLAVIER_H

#include <QWidget>
#include <QKeyEvent>
#include <QCoreApplication>

namespace Ui {
class Clavier;
}

class Clavier : public QWidget
{
    Q_OBJECT
    
public:
    explicit Clavier(QWidget *parent = 0);
    Clavier(bool admin = false , QWidget *parent = 0);
    ~Clavier();
    void ajouterMaj();

public slots:
    //void cacher();
    //void afficher();


protected:


private:
    Ui::Clavier *ui;
    QWidget *mother;

    bool cache;

signals:
    void valider();

private slots:
    void on_ToucheA_pressed();
    void on_ToucheB_pressed();
    void on_ToucheC_pressed();
    void on_ToucheD_pressed();
    void on_ToucheE_pressed();
    void on_ToucheF_pressed();
    void on_ToucheG_pressed();
    void on_ToucheH_pressed();
    void on_ToucheI_pressed();
    void on_ToucheJ_pressed();
    void on_ToucheK_pressed();
    void on_ToucheL_pressed();
    void on_ToucheM_pressed();
    void on_ToucheN_pressed();
    void on_ToucheO_pressed();
    //void on_ToucheOk_pressed();
    void on_ToucheP_pressed();
    void on_ToucheQ_pressed();
    void on_ToucheR_pressed();
    void on_ToucheS_pressed();
    void on_ToucheT_pressed();
    void on_ToucheU_pressed();
    void on_ToucheV_pressed();
    void on_ToucheY_pressed();
    void on_ToucheW_pressed();
    void on_ToucheX_pressed();
    void on_ToucheZ_pressed();
    void on_ToucheArr_pressed();

    void on_ToucheMaj_clicked(bool checked);
    void on_ToucheSpace_pressed();
};

#endif // CLAVIER_H
